﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="messagesadd.aspx.cs" Inherits="UI.system.page.news.messagesadd" %>

<%@ Import Namespace="Model" %>
<%@ Import Namespace="Common" %>
<div style="margin: 15px;">
	<form class="layui-form" style="padding-left:0px;">
         <div class="layui-form-item">
			<label class="layui-form-label"><font>留言内容</font></label>
			<div class="layui-input-block">
				<input id="message" type="text" name="message" placeholder="留言内容"  autocomplete="off" class="layui-input" value="">
			</div>
		</div>
        <div class="layui-form-item">
			    <label class="layui-form-label"><font>选择用户</font><em>*</em></label>
			    <div class="layui-input-inline">
				    <input type="text" id="username" name="username" placeholder="请选择发送用户" readonly="" class="layui-input" onclick="findUserList();" value=""/>
                    <input type="hidden" id="userid" name="userid" class="layui-input" value=""/>
                    <input type="hidden" id="headimg" name="headimg" class="layui-input" value=""/>
			    </div>
		 </div>
		<a lay-filter="save" lay-submit style="display: none;"></a>
	</form>
</div>
<script>
    layui.use(["form"], function () {
        var $ = layui.jquery, form = layui.form;
    });
    var userlist;
    function findUserList() {
        userlist = window.parent.LayerBox.IFrame("请选择要发送的用户", "/system/page/news/userlist.aspx", "773px", "613px");
    }
 </script>